package com.yongbao.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yongbao.common.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@TableName("dish_order_sub")
public class DishOrderSubDO extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    /** 主订单id */
    @TableField("order_id")
    private Long orderId;
    /** 用户id */
    @TableField("user_id")
    private Long userId;
    /** 经度(下单时定位经度) */
    @TableField("lng")
    private String lng;
    /** 纬度(下单时定位纬度) */
    @TableField("lat")
    private String lat;
    /** 是否愿意成为团长 0否 1是 */
    @TableField("head_group")
    private Integer headGroup;
    /** 手机号 */
    @TableField("mobile")
    private String mobile;
    /** 总价 */
    @TableField("order_amount")
    private BigDecimal orderAmount;
}
